package com.langChain4j.api.enums;

import com.base.api.enums.BaseEnum;
import lombok.Getter;

/**
 * @author linjun
 * @date 2025/9/11 16:52
 * @description
 */
@Getter
public enum CommonStatusEnum implements BaseEnum<Integer> {
    STATUS_ENABLE(1, "启用"),
    STATUS_DISABLE(0, "禁用")
    ;

    private Integer code;

    private String label;

     CommonStatusEnum(Integer code, String label) {
        this.code = code;
        this.label = label;
    }

    @Override
    public String getLabel() {
        return label;
    }

    @Override
    public Integer getCode() {
        return code;
    }
}
